import Server from "../request";

import { hostURL } from "../utils/config";

const api = new Server(hostURL)
class UploadApi {

    async uploadImg(file) {
        api.upload('/upload', file)
    }

}
export default new UploadApi
